package edu.whu.notepal.service;

import edu.whu.notepal.pojo.Contacts;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 陈磊
* @description 针对表【t_contacts】的数据库操作Service
* @createDate 2022-12-02 15:40:04
*/
public interface ContactsService extends IService<Contacts> {

    List<Contacts> getFriendsById(Long ownerId);

    void deleteBiDirection(Long ownerId,Long friendId);

    void saveBiDirection(Long ownerId,Long friendId);

    Boolean judgeFriend(Long ownerId,Long friendId);
}
